<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Yunying')}:</label>
        <div class="col-xs-12 col-sm-8">
                        
            <select  id="c-yunying" class="form-control selectpicker" name="row[yunying]">
                {foreach name="yunyingList" item="vo"}
                    <option value="{$key}" {in name="key" value="$row.yunying"}selected{/in}>{$vo}</option>
                {/foreach}
            </select>

        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Taocan')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-taocan" class="form-control" name="row[taocan]" type="text" value="{$row.taocan|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Taocan_type')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-taocan_type" class="form-control" name="row[taocan_type]" type="text" value="{$row.taocan_type|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Jiben_price')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-jiben_price" min="0" class="form-control" step="0.01" name="row[jiben_price]" type="number" value="{$row.jiben_price|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Other_price')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-other_price" min="0" class="form-control" step="0.01" name="row[other_price]" type="number" value="{$row.other_price|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Taocan_text')}:</label>
        <div class="col-xs-12 col-sm-8">
            <textarea id="c-taocan_text" class="form-control " rows="5" name="row[taocan_text]" cols="50">{$row.taocan_text|htmlentities}</textarea>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Miaoshu_text')}:</label>
        <div class="col-xs-12 col-sm-8">
            <textarea id="c-miaoshu_text" class="form-control " rows="5" name="row[miaoshu_text]" cols="50">{$row.miaoshu_text|htmlentities}</textarea>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Village_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-village_id" data-rule="required" data-source="village/index" class="form-control selectpage" name="row[village_id]" type="text" value="{$row.village_id|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('State')}:</label>
        <div class="col-xs-12 col-sm-8">
            
            <div class="radio">
            {foreach name="stateList" item="vo"}
            <label for="row[state]-{$key}"><input id="row[state]-{$key}" name="row[state]" type="radio" value="{$key}" {in name="key" value="$row.state"}checked{/in} /> {$vo}</label> 
            {/foreach}
            </div>

        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-primary btn-embossed disabled">{:__('OK')}</button>
        </div>
    </div>
</form>
